<?php


class Trend{

	protected $name;
	protected $url;

	public function __construct($twitObj){
		$this->name = $twitObj['name'];
		$this->url = $twitObj['url'];
	}

	public function __get($key) {
		return $this->$key;
	}
	public function __set($key, $value) {
		$this->$key = $value;
	}
}